<!--///////////////////////////////////////////////////////////////////////
//                                                                       //
//   Switchy! Chrome Proxy Manager and Switcher                          //
//   Copyright (c) 2009 Mohammad Hejazi (mohammadhi at gmail d0t com)    //
//   Dual licensed under the MIT and GPL licenses.                       //
//                                                                       //
////////////////////////////////////////////////////////////////////////-->

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>Switchy! Log</title>
	<link rel="stylesheet" href="assets/styles/options.css" type="text/css">
	<script src="assets/libs/jquery-1.4.min.js" type="text/javascript"></script>
	<script src="assets/scripts/console.js" type="text/javascript"></script>
</head>
<body onload="init()">
	<table id="optionsTable">
		<tr>
			<td>
				<div id="header">
					<table>
						<tr>
							<td width="100%">
								<img src="assets/images/icon-128.png" width="50" class="title" />
								<span class="title">Switchy! Log</span>
							</td>
							<td width="100">
								<img src="assets/images/close.png" class="close" title="Close" onclick="closeWindow();" />
							</td>
						</tr>
					</table>
				</div>
			</td>
		</tr>
		<tr>
			<td>				
				<div id="logger" class="tab">
					<div class="note">
						If Switchy! stopped working after auto update, please restart Chrome.
					</div>
					<div>
						<div class="title">Test Summary</div>
						<table id="logSummary">
							<tr id="test1">
								<td class="icon"></td>
								<td class="title inactive"><b>1.</b> Loading Switchy Plugin</td>
								<td class="description"></td>
							</tr>
							<tr id="test2">
								<td class="icon"></td>
								<td class="title inactive"><b>2.</b> Plugin Functionality</td>
								<td class="description"></td>
							</tr>
							<tr id="test3">
								<td class="icon"></td>
								<td class="title inactive"><b>3.</b> System Environment</td>
								<td class="description"></td>
							</tr>
						</table>
					</div>
					<hr />
					<div>
						<div class="title">Error Log</div>
						<table>
							<tr>
								<td colspan="2">
									<textarea id="console"></textarea>
								</td>
							</tr>
							<tr>
								<td width="100%">
									<button id="btnClearLog" class="button" onclick="clearLog();">Clear Log</button>&nbsp;
									<!--button id="btnSendLog" class="button" onclick="sendLog();">** Send Error Log</button-->
								</td>
								<td nowrap="nowrap">
									<button id="btnDiagnose" class="button" onclick="diagnose();">Diagnose</button>&nbsp;
									<button id="btnReset" class="button" onclick="resetOptions();">Reset Options</button>
								</td>
							</tr>
						</table>
					</div>
				</div>
			</td>
		</tr>
	</table>
</body>
</html>
